<?php $img_err=Common::getImageError(); ?> 
<div class="container">
    <div class="main clearfix">
        <div class="box-style bottom10">
            <div class="menu">
                <div class="menu_1"><a href="<?php echo Url::createUrl("clip/index"); ?>">Hot</a></div>
                <div class="menu_1"><a href="<?php echo Url::createUrl("clip/new"); ?>">New</a></div>
                <div class="menu_1"><a href="<?php echo Url::createUrl("clip/top"); ?>">Top</a></div>
                <div class="both"></div>
            </div>

            <div class="clip_1">
                <strong><?php echo $data_detail['title']; ?></strong><br>
                <a href="<?php echo Yii::app()->params['url_mtop']."fileApp/download?appId=3&userId=".$_SESSION['userId']; ?>"><img onError="this.src='<?php echo $img_err; ?>'" width="200" height="130" class="kc_clip_1" alt="" src="<?php echo Common::getImageKkt($data_detail['picture'],"video",$data_detail['create_date'],''); ?>"></a><br>
                <img width="11" height="10" alt="" src="<?php echo Yii::app()->params['static_url']; ?>images/taive.png">&nbsp;<a class="chu_clip" href="<?php echo Yii::app()->params['url_mtop']."fileApp/download?appId=3&userId=".$_SESSION['userId']; ?>"><strong>Tải Về Máy</strong></a>
            </div>
            <div class="chuyemuc">
                Clip Cùng Chuyên Mục
            </div>
            <div class="list_item clip18">
                <div class="w-650">
                    <ul class="list_style clearfix">
                        <?php foreach($data_random as $key=>$value){ ?>
                            <li>
                                <img width="25" height="25" src="<?php echo Yii::app()->params['static_url']; ?>images/hot.png" class="absolute"><a title="<?php echo $value['title']; ?>" href="<?php echo Url::createUrl("clip/detail",array("id"=>$value['id'],"alias"=>$value['alias'])); ?>">
                                    <img onError="this.src='<?php echo $img_err; ?>'" src="<?php echo Common::getImageKkt($value['picture'],"video",$value['create_date'],''); ?>" alt="<?php echo $value['title']; ?>"></a>
                                <h3 class="tit-clip"><a title="<?php echo $value['title']; ?>" href="<?php echo Url::createUrl("clip/detail",array("id"=>$value['id'],"alias"=>$value['alias'])); ?>"><strong><?php echo $value['title']; ?></strong></a></h3>
                                <p class="clearfix"><span class="views">View: <?php echo $value['hit']; ?></span> - <span class="time">Times: <?php echo $value['duration']; ?></span></p>
                            </li>
                            <?php } ?>
                    </ul>
                </div>
            </div>
            <div style="text-align:center;" class="button">
                <a href="<?php echo Url::createUrl("clip/category",array("catId"=>$category_detail['id'],"alias"=>$category_detail['alias'])); ?>"><strong>Xem Thêm &gt;&gt;</strong></a>
            </div>
            <h1 style="display: none !important;">Video 18+, sexy, quay lén, tự sướng, show hàng, kho video hot</h1>
        </div>
        <div class="chuyemuc">
            Chuyên Mục
        </div>
        <div class="chuyenmuc_1">
            <ul>
                <?php foreach($category as $key=>$value){?>
                    <li>
                        <a href="<?php echo Url::createUrl("clip/category",array("catId"=>$value['id'],"alias"=>$value['alias'])); ?>"><img width="4" height="7" class="kc_chuyenmuc" src="<?php  echo Yii::app()->params['static_url']; ?>images/tenweb-icon.png"><?php echo $value['name'] ; ?></a>
                    </li>
                    <?php } ?> 
            </ul>
        </div>
        <div class="bottomone">
            <a href="#">Kho game mobile: tổng hợp game mobile hot 2013</a>
        </div>
    </div>
    </div>
